﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Home.Domain.Entities
{
    /// <summary>
    /// 分类（大分类，如品牌，类别等）
    /// </summary>
    public class Classification
    {
        public int Id { get; set; }
        /// <summary>
        /// 名称，如：品牌，类别等
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 类名称
        /// 如产品Product，新闻News
        /// </summary>
        public string ClassName { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        public virtual ICollection<Category> Categorys { get; set; }
    }
}
